package org.smile.day04;

public abstract class Animal implements Behaviour{
    private String type;
    private String name;

    public abstract void breathe();

    public void move(){
        System.out.println("用腿走路");
    }

    @Override
    public void attack() {
        System.out.println(this.getClass().getName()+": attack");
    }

}
